home *** CD-ROM | disk | FTP | other *** search
- Path: news.ios.com!usenet
- From: joe_mcd@msn.com (joe mcdermott)
- Newsgroups: comp.lang.c++
- Subject: Re: Calling Visual Basic Functions from C++
- Date: 14 Mar 1996 08:31:42 GMT
- Organization: Internet Online Services
- Message-ID: <4i8lhe$kpc@news.ios.com>
- References: <4i1jvb$s21@news.nstn.ca>
- NNTP-Posting-Host: 205.147.154.75
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.6
-
- In article <4i1jvb$s21@news.nstn.ca>, smss_pks@fox.nstn.ca says...
- >
- >Is it possible to call a Visual Basic Function from a C program. I am
- >able to call a C function from Visual Basic but can't do it in
- >reverse.
- >
- >If it is possible, how is the function defined in C.
- >
- >If you could respond by e-mail it would be great.
- >
- >Thanks in advance.
- >
- >Paul Snow.
- >email: smss_pks@fox.nstn.ca
- >
-
- Not directly. But in VB4 you can create OLE public classes which can be
- called fom any OLE automation controller. In general this is only interesting
- if you are using VC++ or other tool that can hide all the ugly OLE
- plumbing.
-
- Joe McDermott
-
-